package com.hsteach.web.controller.calendar.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "UpdateDayDto", description = "修改单日放假情况")
@Data
public class UpdateDayDto implements Serializable {

    /** 周行事历id */
    @ApiModelProperty(value = "周行事历id", required = true)
    private Long id;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "修改日期 yyyy-MM-dd", required = true)
    private Date day;

    @ApiModelProperty(value = "是否工作，1工作，0放假", required = true)
    private Integer workFlg;
}
